package ace.module.oauth2.server.api.enums;

import ace.cmp.core.enums.BaseEnum;
import ace.module.oauth2.server.api.constant.Oauth2ServerConstant;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author caspar
 * @date 2023/10/9 14:15
 */
@AllArgsConstructor
public enum Oauth2GrantTypeEnum implements BaseEnum<String> {
  EXTERNAL_USER_GRANT_TYPE(Oauth2ServerConstant.OAUTH2_GRANT_TYPE_EXTERNAL_USER, "external_user"),
  ;
  @Getter
  private String code;
  @Getter
  private String desc;
}
